package com.example.demo1.model;

import lombok.Data;
import lombok.AllArgsConstructor;
import java.util.ArrayList;
import java.util.List;

@Data
public class ImportResult {
    private int total;
    private int success;
    private List<String> errors;
    
    public ImportResult() {
        this.total = 0;
        this.success = 0;
        this.errors = new ArrayList<>();
    }
    
    @Data
    @AllArgsConstructor
    public static class ErrorRecord {
        private int rowNum;
        private String message;
    }
} 